
<script>
	$('#title').append("<h1>" + capitalise(localStorage.getItem("estudia_course")) + "</h1>");
	
	$('#courses_lesson').click(function(){
		localStorage.setItem("estudia_type", "materi");
		$(".middle_side").load("3-pilihanbab.html", function(data) {
			
		});
	});	
	
	$('#courses_quiz').click(function(){
		localStorage.setItem("estudia_type", "soal");
		$(".middle_side").load("3-pilihanbab.html", function(data) {
			
		});
	});
	
function capitalise(string) {
	return string.charAt(0).toUpperCase() + string.slice(1);
};
</script>

<div id="title"></div>
<div class="button_estudo" id="menu_button">
	<button type="button" id="courses_lesson">Lesson</button><br />
	<button type="button" id="courses_quiz">Quiz</button><br />
</div>
